export const routes = [
   {
      path: "/",
      name: "layout",
      component: () => import("@/layout/layout.vue"),
      children: [
         {
            path: "",
            name: "home",
            component: () => import("@/views/home/home.vue"),
         },
         {
            path: "/article",
            name: "article",
            component: () => import("@/views/article/article.vue"),
         },
         {
            path: "/notify",
            name: "notify",
            component: () => import("@/views/notify/notify.vue"),
         },
         {
            path: "/user",
            name: "user",
            component: () => import("@/views/user/user.vue"),
         },
      ],
   },
   {
      path: "/login",
      name: "login",
      component: () => import("@/views/login/login.vue"),
   },
   {
      path: "/user/patient",
      name: "patient",
      component: () => import("@/views/user/views/patient/patient.vue"),
   },
   {
      path: "/user/consult",
      component: () => import("@/views/user/views/consultPage/consultPage.vue"),
   },
   {
      path: "/consult",
      name: "consul",
      component: () => import("@/views/home/views/consult/consult.vue"),
   },
   {
      path: "/consult/department",
      name: "department",
      component: () => import("@/views/home/views/department/department.vue"),

   },
   {
      path: "/consult/illness",
      name: "illness",
      component: () => import("@/views/home/views/illness/illness.vue"),
   },
   {
      path: "/consult/pay",
      name: "pay",
      component: () => import("@/views/home/views/pay/pay.vue"),
   },
   {
      path: "/consult/chitchat",
      name: "chitchat",
      component: () => import("@/views/home/views/chitchat/chitchat.vue"),
   },
   {
      path: "/medicine/pay",
      component: () => import("@/views/home/views/medicnePay/medicnePay.vue"),
      meta: { title: "药品支付" },
   },
   {
      path: '/order/pay/result',
      component: () => import('@/views/home/views/medicnePay/medicnePayResult.vue'),
   }
];
